// components/home/index.js
const app = getApp();
let that;
Component({
  options: {
    addGlobalClass: true
  },

  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    pageCur:'',
  },

  /**
   * 组件的方法列表
   */
  attached() {
    that = this;
  },

  methods: {
    componentInnerFunction(e) {
      console.log(e)
      that.setData({
        pageCur: e,
      })
    },

 
  }
})